package com.ericsson.epc.modules.trace.service.impl;

import com.ericsson.epc.modules.trace.entity.SignalFile;
import com.ericsson.epc.modules.trace.mapper.SignalFileMapper;
import com.ericsson.epc.modules.trace.service.SignalFileService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description: 信令追踪结果文件表Service接口实现
 * @author: wangjingshi
 * @create: 2021-03-17 15:23
 */
@Service
public class SignalFileServiceImpl implements SignalFileService {

    @Resource
    private SignalFileMapper signalFileMapper;

    @Override
    public List<SignalFile> findList(SignalFile signalFile) {
        return signalFileMapper.findList(signalFile);
    }

    @Override
    public void insert(SignalFile signalFile) {
        signalFileMapper.insert(signalFile);
    }

    @Override
    public void update(SignalFile signalFile) {
        signalFileMapper.update(signalFile);
    }

    @Override
    public void deleteExpiredData(String timeFlag) {
        signalFileMapper.deleteExpiredData(timeFlag);
    }
}
